/**
 * outsider.com.cn Inc.
 * Copyright (c) 2011-2022 All Rights Reserved.
 */
package com.yuanmeng.common.core.domain;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author outsider
 * @version Id: RabbitMqMessageDTO.java, v 0.1 2022/12/9 14:22 outsider Exp $$
 */
@Getter
@Setter
@ToString(callSuper = true)
public class RabbitMqMessageDTO implements Serializable {
    private static final long         serialVersionUID = -829471750901339158L;

    /**
     * 消息路由地址
     */
    private String                    messageRouting;

    /**
     * 延迟时间
     */
    private Long                      delayTime;

    /**
     * 消息体对象
     */
    private String                    messageObject;

    private static RabbitMqMessageDTO instance         = new RabbitMqMessageDTO();

    private RabbitMqMessageDTO() {
    }

    public static RabbitMqMessageDTO getInstance() {
        return instance;
    }
}